From: Hannu Nyman Date: Thu, 1 Sep 2022 15:08:56 +0000 (+0300) Subject: luci-mod-network: Offer ft-over-air by default for 802.11r X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=77c916e54b2b0c861e9be65c788c17410737b21d;p=project%2Fluci.git luci-mod-network: Offer ft-over-air by default for 802.11r OpenWrt commit 2984a0420 (cb650143 for 21.02) changed the default 802.11r Fast Transition method to be ft-over-air instead of ft-over-ds. Offer ft-over-air as the first item in the drop-down list, so that it gets selected by default when 802.11r option is enabled. Signed-off-by: Hannu Nyman (cherry picked from commit 2c3c7f5c50efd71bf87c068359cb0110a513186f) --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index 77f53e2b7d..20419a1cb2 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -1526,8 +1526,8 @@ return view.extend({ o = ss.taboption('encryption', form.ListValue, 'ft_over_ds', _('FT protocol')); o.depends({ ieee80211r: '1' }); - o.value('1', _('FT over DS')); o.value('0', _('FT over the Air')); + o.value('1', _('FT over DS')); o.rmempty = true; o = ss.taboption('encryption', form.Flag, 'ft_psk_generate_local', _('Generate PMK locally'), _('When using a PSK, the PMK can be automatically generated. When enabled, the R0/R1 key options below are not applied. Disable this to use the R0 and R1 key options.'));